﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Enough.Lifecycle.ViewModel
{
    /// <summary>
    /// Allows to mark a view model property as restorable, so that it is being restored automatically when a suspended app is restored.
    /// </summary>
    /// <seealso cref="BaseViewModel.Initialize"/>
    [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
    sealed public class Restorable : Attribute
    {
        // See the attribute guidelines at 
        //  http://go.microsoft.com/fwlink/?LinkId=85236

        public Restorable()
        {
        }

    }  
}
